<?php
class homeComponents extends sfComponents
{
    public function executeLinks()
    {
      $this->links = Doctrine_Core::getTable('links')
        ->getActiveLinks();
    }
}
?>